package com.njtoyo.taxi.admin.rest.wrapper.local_service.merchant;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

@Data
public class PickupLocationPageWrapper extends Page<PickupLocationPageWrapper> {

    public PickupLocationPageWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "地址名称")
    private String name;

}
